<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={CHARSET}"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" >
<title>$navtitle</title>
<meta name="description" content="$metakeywords" /> 
<meta name="keywords" content="$metadescription" />
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/base.css" />
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/module.css" />
<script src="source/plugin/aljbd/js/jquery.js"></script>
<script type="text/javascript">
    var jq = jQuery.noConflict();
</script>
<script src="source/plugin/aljbd/js/sj/common.js"></script>
<script src="source/plugin/aljbd/js/common.js"></script>
<script src="source/plugin/aljbd/js/sj/jquery.plugin.js"></script>
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/plugin.css" />
{template aljbd:common}
</head>
<script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]';</script>
<body id="body">
<a name="top"></a>
{template aljbd:header}

{eval $sign=DB::result_first("select sign from ".DB::table('aljbd_attestation')." where sign=1 and bid=".$bid)}
{if $sign}
<div class="notice" style="border:1px dashed #f60;background-color:#FFC;color:red;margin-left:10px;margin-top:10px;font-size:16px;">{lang aljbd:aedit_24}</div>
{else}
<div class="notice" style="border:1px dashed #f60;background-color:#FFC;color:red;margin-left:10px;margin-top:10px;font-size:16px;">$config['qiye_s']</div>
{/if}
<div class="container module-review" id="mobile_body"><div class="panel-comm panel-fullsize">
    <div class="panel-body">
        <div class="form-box">
		
		<iframe style="display:none" name="myiframe" id="myiframe"></iframe>
            <form id="postform" name="postform" action="plugin.php?id=aljbd&act={$_GET['act']}" method="POST" 
              target="myiframe">
                <input type="hidden" name="formhash" value="{FORMHASH}">
                <input type="hidden" name="bid" value="{$bid}">
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_17}<span class="txt-warning">&nbsp;</span></legend>
                        <div class="item-inline">
                            $aljbd[$_GET[bid]]['name']
                        </div>
                    </fieldset>
                </div>
				
                <div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_2}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div class="item-inline">
                            <input type="text" name="name" class="px" value="{$lp['name']}" required>
                        </div>
                    </fieldset>
                </div>
				 <div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_4}<<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div class="item-inline">
                            <input type="text" name="id_card" class="px" value="{$lp['id_card']}"  required>
                        </div>
                    </fieldset>
                </div>
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_4}<span class="txt-warning"></span></legend>
                        <div>
						
                           <span id="id_pic"><input type="file" name="id_pic" onchange="lrz_mobile('id_pic',this)"></span>
					<span id="img_id_pic">{if $lp['id_pic']}<br><br><img src="{eval echo $lp['id_pic'];}" style="width:300px;height:200px;"><br>{/if}</span>
							
                        </div>
                       
                    </fieldset>
                </div>
			<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_19}<span class="txt-warning"></span></legend>
                        <div>
						 <span id="ban_pic"><input type="file" name="ban_pic" class="pf" size="40" onchange="lrz_mobile('ban_pic',this)"></span>
			
					<span id="img_ban_pic">{if $lp['ban_pic']}<br><br><img src="{eval echo $lp['ban_pic'];}" style="width:300px;height:200px;"><br>{/if}</span>
							
                        </div>
                       
                    </fieldset>
                </div>
                <div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_21}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                            <span id="id_pic1"><input type="file" name="id_pic1" class="pf" size="40" onchange="lrz_mobile('id_pic1',this)"></span>
			
					<span id="img_id_pic1">{if $lp['id_pic1']}<br><br><img src="{eval echo $lp['id_pic1'];}" style="width:300px;height:200px;"><br>{/if}</span>
                        </div>
                       
                    </fieldset>
                </div>
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_7}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                            <input type="text" name="qiyename" class="px"  value="{$lp['qiyename']}">
                        </div>
                       
                    </fieldset>
                </div>
               <div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_9}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                            <input type="text" name="email" class="px"  value="{$lp['email']}">
                        </div>
                       
                    </fieldset>
                </div>
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_11}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                            <input type="text" name="tel" class="px"  value="{$lp['tel']}">
                        </div>
                       
                    </fieldset>
                </div>
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_13}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                            <span id="pic"><input type="file" name="pic" onchange="lrz_mobile('pic',this)"></span>
					<span id="img_pic">{if $lp['pic']}<br><br><img src="{eval echo $lp['pic'];}" style="width:200px;height:200px;"><br>{/if}</span>
                        </div>
                       
                    </fieldset>
                </div>
				<div class="form-item">
                    <fieldset>
                        <legend>{lang aljbd:aedit_14}<span class="txt-warning">{lang aljbd:sj_dianping_2}</span>:</legend>
                        <div>
                           <textarea rows="5" cols="60" type="text" maxlength="5000" name="jieshao" value="{$lp['jieshao']}" title="{lang aljbd:aedit_15}" class="input" data-parent=".p-line">{$lp['jieshao']}</textarea>
                        </div>
                       
                    </fieldset>
                </div>
                <div class="form-submit" style="margin-bottom:40px;">
                    <div class="btn-group-vertical full-width">
                        <button type="submit" name="submit" value="Y" class="btn btn-mycolor">{lang aljbd:attestation_2}</button>
                    </div>
                </div>
				
            </form>
        </div>
    </div>
</div>

<script type="text/javascript">
function tips(txt, fun) {
	jq('.tips').remove();
	var div = jq('<div style="background: url(source/plugin/aljbd/images/tips.png);max-width: 85%;min-height: 77px;min-width: 270px;position: absolute;left: -1000px;top: -1000px;text-align: center;border-radius:10px;"><span style="color: #ffffff;line-height: 77px;font-size: 23px;">' + txt + '</span></div>');
	jq('body').append(div);
	div.css('zIndex', 9999999);
	div.css('left', parseInt((jq(window).width() - div.width()) / 2));
	var top = parseInt(jq(window).scrollTop() + (jq(window).height() - div.height()) / 2);
	div.css('top', top);
	setTimeout(function() {
		div.remove();
		if (fun) {
			fun();
		}
	}, 2000);
}

</script>


</div>
{template aljbd:img_js}
{template aljbd:footer}
</body>
</html>